package com.zy.mobile.message.push.netty.chapter12.domain;

/**
 * netty消息体
 * @author zhangyi
 *
 */
public class NettyMessage {
	
	private Header header;//消息头
	
	private Object body;//消息体

	public Header getHeader() {
		return header;
	}

	public void setHeader(Header header) {
		this.header = header;
	}

	public Object getBody() {
		return body;
	}

	public void setBody(Object body) {
		this.body = body;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "NettyMessage [header="+header+"]";
	}
}
